
#ifndef GIP_PANEL_H
#define GIP_PANEL_H 1

#include "gip_types.h"

/* creates a new panel, with the given layout */
GipWidget * gip_panel_new(int layout, int option1, int option2);

/* add a new control to the panel */
void        gip_panel_add(GipWidget *panel, GipWidget *widget);

/* set panel layout */

#define GIP_VERT  0 /* options ignored */
#define GIP_HORZ  1 /* options ignored */
#define GIP_TABLE 2 /* option1 = columns, option2 = rows */

void        gip_panel_set_layout(GipWidget *panel, int layout,
				 int option1, int option2);

#endif
